#include <stdio.h>
#include "stackADT.h"
#define ARR
int main()
{
    Stack s1, s2;
    int n;
#ifdef ARR
    s1 = create(100);
    s2 = create(200);
#else
    s1 = create();
    s2 = create();
#endif
    push(s1, 1);
    push(s1, 2);
    n = pop(s1);
    printf("Popped %d from s1\n", n);
    push(s2, n);
    n = pop(s1);
    printf("Popped %d from s1\n", n);
    push(s2, n);

    destroy(s1);
    while (!is_empty(s2))
        printf("Popped %d from s2\n", pop(s2));

    push(s2, 3);
    make_empty(s2);
    if (is_empty(s2))
        printf("s2 is empty\n");
    else
        printf("s2 is not empty\n");

    destroy(s2);
}